<template>
<!--  组件结构-->
  <div class="app">
    <h1>{{msg}}</h1>
    <School/>
    <Student/>
  </div>
</template>

<script>
  //引入school组件
import Student from './components/Student';
import School from './components/School'
//组件交互相关代码（数据、方法等）
export default{
    name:'App',
    data()  {

       return {
         msg:'你好呀',
         studentname:''
       }
    },
   components:{
     Student,
     School
   },

}

</script>
<style>
    .app{
      background-color: #de5f5f;
    }
</style>
